package com.zkk.pojo;

import java.math.BigDecimal;

public class Card {
    private String username;
    private String id_card;
    private String telephone;

    private BigDecimal balance;//余额

    public Card() {
    }

    public Card(String username, String id_card, String telephone, BigDecimal balance) {
        this.username = username;
        this.id_card = id_card;
        this.telephone = telephone;
        this.balance = balance;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Card{" +
                "username='" + username + '\'' +
                ", id_card='" + id_card + '\'' +
                ", telephone='" + telephone + '\'' +
                ", balance=" + balance +
                '}';
    }
}
